package com.ctgu.蓝桥杯真题.B组2015;

/**
 * @author: Backdiy
 * @data: 2021/4/15 16:07
 * @desc:
 */
public class 加法变乘法6 {
    public static void main(String[] args) {
        int ans = 0;
        for (int i = 1; i <= 48; i++) {
            for (int j = i + 2; j <= 48; j++) {
                if (i*i+j*j-i-j-2==2015-1225){
                    System.out.println(""+i+' '+j);
                }
            }
        }
    }
}
